package com.aisoar.magicsoar.api;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableDiscoveryClient
@Slf4j
@MapperScan({"com.aisoar.magicsoar.storage.dao"})
@ComponentScan("com.aisoar.magicsoar")
@EnableScheduling
@EnableAspectJAutoProxy(exposeProxy = true)
@EnableTransactionManagement
public class MagicsoarApiApplication {

	public static void main(String[] args) {
		SpringApplication.run(MagicsoarApiApplication.class, args);
	}

}
